package com.cw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cw.common.constant.Response;
import com.cw.dto.ApplicationBedDTO;
import com.cw.entity.ApplicationBed;
import com.cw.entity.BedUggIeCWInfo;
import com.cw.request.BedAppicationDownLoad;
import com.github.pagehelper.PageInfo;

import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ly
 * @since 2021-12-13
 */
public interface IApplicationBedService extends IService<ApplicationBed> {

    Boolean getISNotice(ApplicationBed entity);

    Response addPopup(ApplicationBed entity);

    Response UpdateApplication(ApplicationBed entity);

    Response UpdateBatchApplicationStatus(List<BigDecimal> lstPreid, String isNotice, String isHandle);

    List<ApplicationBed> getInquire(ApplicationBed entity);


    PageInfo<BedUggIeCWInfo> getBedReservationQuery(ApplicationBed entity);

    Response Deleteinformation(List<BigDecimal> ids);

    /**
     * 假删除，修改状态
     * @param Listpreid
     * @param Listpreid
     * @return
     */
    Response deleteByPreid(List<String> Listpreid);


    /**
     * 床位申请报表下载
     * @author xnd
     * @since 2022-3-29
     * @param  requestInfo
     */
    void geBedApplicationDownLoadExcel(BedAppicationDownLoad requestInfo)throws IOException;

    Response sendMessageToDoctor(ApplicationBedDTO dto);
}
